#include <string>

#include "redis_executor/redis_executor.h"
#include "redis_executor/scoped_reply.h"

namespace imserver {

class RedisAdapter {
 public:
  RedisAdapter(RedisLocator * locator);
  // 记录waiter 和 customer 通过那个 shop 关联
  int LinkWaiterCustomerShop(int64_t waiter, int64_t customer, int64_t shop);
  int64_t GetLinkedShop(int64_t waiter, int64_t customer);

 private:
  RedisExecutor redis_exec_;
};

}

